/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ManageBean;

import HouseBN.HouseService;
import entity.House;
import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;

/**
 *
 * @author Mr-Quick
 */
@ManagedBean
@RequestScoped
public class test {

    public test() {
        getForindex();

    }
    List<House> listindex;

    public List<House> getListindex() {
        return listindex;
    }

    public void getForindex() {
        HouseService house = new HouseService();
        listindex = house.gethouseforindex();
    }
}
